package com.cn.jinl.dao;

import com.cn.jinl.domain.Sterilize;
import com.cn.jinl.domain.SterilizeExample;
import java.util.List;

import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface SterilizeMapper {
    int countByExample(SterilizeExample example);

    int deleteByExample(SterilizeExample example);

    int insert(Sterilize record);

    int insertSelective(Sterilize record);
    int batchInsertSterilizes(@Param("itemList") List<Sterilize> records);

    List<Sterilize> selectByExample(SterilizeExample example);

    List<Sterilize> selectLatestSterilizes(QueryForm queryForm);
    List<Sterilize> selectLatestHistorySterilizes(QueryForm queryForm);
    List<Sterilize> selectLatestAllHistorySterilizes(QueryForm queryForm);
    int selectLatestHistorySterilizesCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") Sterilize record, @Param("example") SterilizeExample example);

    int updateByExample(@Param("record") Sterilize record, @Param("example") SterilizeExample example);
}